home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 June: Reference Library / Dev.CD Jun 94.toast / Periodicals / develop / develop Issue 11 / develop 11 code / MultiBuffer / MultiBuffer Source / MakeFile < prev    next >
Encoding:
Makefile  |  1992-07-15  |  1.6 KB  |  55 lines  |  [TEXT/MPS ]

  1. # the list of dependencies to create our application
  2. # to create the dump file it cannot use the default
  3. # build rules and is explicitly defined
  4.  
  5. DblBufProcObjs    =    "{ObjFolder}"MainApp.c.o         ∂
  6.                     "{ObjFolder}"AIFFGoodies.c.o    ∂
  7.                     "{ObjFolder}"DoubleBuffers.c.o    ∂
  8.                     "{ObjFolder}"Oscilator.c.o        ∂
  9.                     "{ObjFolder}"PlayFromFile.c.o    ∂
  10.                     "{ObjFolder}"PlayFromSynth.c.o    ∂
  11.                     "{CLibraries}CSANELib.o"        ∂
  12.                     "{Libraries}Interface.o"        ∂
  13.                     "{Libraries}Runtime.o"
  14.  
  15. "{ObjFolder}"                        ƒ    :
  16.  
  17. # when building the dump file we only need a syntax check
  18. # to avoid the object file which we don't need at all
  19.  
  20. "{ObjFolder}"MacHeaders                ƒ    StdIncludes.h
  21.     Echo ∂t∂t"Creating MacHeaders"
  22.     C StdIncludes.h {COptions} -k "{ObjFolder}" -c
  23.  
  24. # echo the tool commands to the user's worksheet by substituting
  25. # the tool's name to be a command and then the tool
  26.  
  27. C = Echo ∂t∂tCompiling {Default}.c; C -opt off
  28.  
  29. "{ObjFolder}"MainApp.c.o            ƒ    MainApp.h StdIncludes.h
  30.  
  31. "{ObjFolder}"AIFFGoodies.c.o        ƒ    MainApp.h StdIncludes.h
  32.  
  33. "{ObjFolder}"Oscilator.c.o            ƒ    MainApp.h StdIncludes.h
  34.  
  35. "{ObjFolder}"DoubleBuffers.c.o        ƒ    MainApp.h StdIncludes.h DoubleBuffer.h
  36.  
  37. "{ObjFolder}"PlayFromFile.c.o        ƒ    MainApp.h StdIncludes.h DoubleBuffer.h
  38.  
  39. "{ObjFolder}"PlayFromSynth.c.o        ƒ    MainApp.h StdIncludes.h DoubleBuffer.h
  40.  
  41. "{ObjFolder}"DoubleBuffer            ƒƒ    "{ObjFolder}"MacHeaders
  42.  
  43. "{ObjFolder}"DoubleBuffer            ƒƒ    {DblBufProcObjs}
  44.     Echo ∂t∂t"Linking DoubleBuffer"
  45.     Link -o {Targ} {DblBufProcObjs} -t APPL -c CAMI ∂
  46.             -sn CSANELib=Main -sn SANELIB=Main
  47.  
  48. "{ObjFolder}"DoubleBuffer            ƒƒ    MainApp.r MainApp.h
  49.     Echo ∂t∂t"Rezing DoubleBuffer"
  50.     Rez MainApp.r {ROptions} -o {Targ}
  51.  
  52.  
  53.  
  54.  
  55.